翻訳と辞書
Words near each other
・ Tredington, Warwickshire
・ Tredinnick
・ Tredion Castle
・ Tredje gången gillt
・ Tredje Natur
・ Tredodridge
・ Tredozio
・ Tredrizzick
・ Tredunnock
・ Tredway
・ Tredwell
・ Tredwell Scudder
・ Tredyffrin Township, Chester County, Pennsylvania
・ Tredyffrin/Easttown School District
・ Tree
Tree (data structure)
・ Tree (descriptive set theory)
・ Tree (disambiguation)
・ Tree (Gaelic Storm album)
・ Tree (graph theory)
・ Tree (installation)
・ Tree (Johnny Duhan album)
・ Tree (novel)
・ Tree (Sekai no Owari album)
・ Tree (set theory)
・ Tree (surname)
・ Tree (TVXQ album)
・ Tree (Unix)
・ Tree accumulation
・ Tree Aid


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Tree (data structure) : ウィキペディア英語版
Tree (data structure)

In computer science, a tree is a widely used abstract data type (ADT)--or data structure implementing this ADT--that simulates a hierarchical tree structure, with a root value and subtrees of children with a parent node, represented as a set of linked nodes.
A tree data structure can be defined recursively (locally) as a collection of nodes (starting at a root node), where each node is a data structure consisting of a value, together with a list of references to nodes (the "children"), with the constraints that no reference is duplicated, and none points to the root.
Alternatively, a tree can be defined abstractly as a whole (globally) as an ordered tree, with a value assigned to each node. Both these perspectives are useful: while a tree can be analyzed mathematically as a whole, when actually represented as a data structure it is usually represented and worked with separately by node (rather than as a list of nodes and an adjacency list of edges between nodes, as one may represent a digraph, for instance). For example, looking at a tree as a whole, one can talk about "the parent node" of a given node, but in general as a data structure a given node only contains the list of its children, but does not contain a reference to its parent (if any).
==Definition==

A tree is a (possibly non-linear) data structure made up of nodes or vertices and edges without having any cycle. The tree with no nodes is called the null or empty tree. A tree that is not empty consists of a root node and potentially many levels of additional nodes that form a hierarchy.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Tree (data structure)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.